package com.plian.system.entity.glc;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.plian.system.mybatis.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @description: 任期经营业绩考核指标表-任务绩效
 * @author: zhangsk
 * @create: 2025-01-16 18:08
 */
@Data
@TableName("glc_task_indicators_rq")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "GlcTaskIndicatorsRq对象", description = "管理层任期经营业绩考核指标表-任务绩效")
public class GlcTaskIndicatorsRq extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "主表id")
    private Long baseBusinessIndicatorsId;

    @ApiModelProperty(value = "指标id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long indicatorsCategoryId;

    @TableField(value = "index_num", updateStrategy = FieldStrategy.IGNORED)
    @ApiModelProperty(value = "序号")
    private Integer indexNum;

    @TableField(value = "content",updateStrategy = FieldStrategy.IGNORED)
    @ApiModelProperty(value = "评价内容")
    private String content;

    @ApiModelProperty(value = "填报年月")
    private String fillingMonth;

    @ApiModelProperty(value = "数据来源 null为系统填报 对应用户id")
    private String dataSource;

    @ApiModelProperty(value = "数据来源id", required = true)
    private String dataSourceId;

    @ApiModelProperty(value = "指标code")
    @TableField(exist = false)
    private String indicatorsCode;
}
